package com.yitianyigexiangfa.designpattern.facade.hometheater.subsystem;

/**
 * @author Bill Lau
 * @date 2018-01-18
 */
public class TheaterLights {

    public void on() {
        System.out.println("TheaterLights on");
    }

    public void off() {
        System.out.println("TheaterLights off");
    }

    /**
     * 调光
     *
     * @param i 调光值
     */
    public void dim(int i) {
        System.out.println("TheaterLight dim to: " + i +"%");
    }

    @Override
    public String toString() {
        return "TheaterLights";
    }
}
